package com.personnalManagerSystem.mapper;

import com.personnalManagerSystem.model.Notice;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author liqing
 * @since 2022-04-05
 */
@Mapper
public interface NoticeMapper extends BaseMapper<Notice> {
    @Select("select * from notice where title = #{title}")
    Notice selectNoticeByTitle(String title);
}
